#pragma once
#include "stdafx.h"
#include "Operator.h"
#include <boost/shared_ptr.hpp>
class Scheduler
{
private:
	std::list<boost::shared_ptr<Operator> >operatorList;
	static const int defualtExecutionTimes = 20;
	std::list<boost::shared_ptr<Operator> >::iterator it;
public:
	Scheduler(std::list<boost::shared_ptr<Operator> >operatorList);
	~Scheduler(void);

	void getNextOperatorToExecute(boost::shared_ptr<Operator>& op, int& executionTimes);

};

